]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
ScreenShield: lower the autodrag threshold to 10%
authorGiovanni Campagna <gcampagna@src.gnome.org>
Fri, 3 Aug 2012 15:44:54 +0000 (17:44 +0200)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Mon, 6 Aug 2012 19:43:54 +0000 (21:43 +0200)
The threshold is there just to ensure that the user is opening
the curtain on purpose. Requiring 40% is too much for that.

https://bugzilla.gnome.org/show_bug.cgi?id=681143

js/ui/screenShield.js

index fcc079d03a84f60faad1f9f101114f1bb92016e3..3844a00184e86bfdf9bfa141dac63b40605f8bee 100644 (file)
@@ -20,7 +20,7 @@ const LOCK_ENABLED_KEY = 'lock-enabled';
 const CURTAIN_SLIDE_TIME = 1.2;
 // fraction of screen height the arrow must reach before completing
 // the slide up automatically
-const ARROW_DRAG_TRESHOLD = 0.4;
+const ARROW_DRAG_TRESHOLD = 0.1;
 
 const SUMMARY_ICON_SIZE = 48;